C++ syntax is stored in files with the extention .cpp .cpp files are just ASCII text int - integer (whole number) 4 bytes variable declaration - asks the OS for memory for a variable at runtime runtime - when the program is executing assignment - giveing a variable a value initialization - the first assignment cin - standard input device (keyboard) >> - stream extraction opreator integer division does not round 5.5 is 5, 5.99999 is 5 float - real number - 4 bytes // Dana Steil // 1/25/2007 #include using namespace std; void main() { int month; cout << "Month? "; cin >> month; if( month == 2) { cout << "There are 28 days in month " << month; } if(month == 9 || month == 4 || month == 6 || month == 11 ) { cout << "There are 30 days in month " << month; } if( month == 1 || month == 3 || month == 5 || month == 7 || month == 10 || month == 12) { cout << "There are 31 days in month " << month; } //float height = 0; //float width = 0; //cout << "Height? "; //cin >> height; //cout << "Width? "; //cin >> width; //cout << "The area of the rectangle is "; //cout << height * width / 2; }